<%--

User : chenxidun

 --%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <link href="${pageContext.request.contextPath}/static/css/login.css" rel="stylesheet">
 <body>
	<div class="signinpanel">
		<div class="signin-desc">
			<h1>欢迎光临广财论坛</h1>
		</div>
		<div class="signin-info">
			<div style="text-align:center;">
				<h1 class="signin-title">用户注册</h1>
			</div>
			<form action="${pageContext.request.contextPath}/user/add" method="post">
				<table>
					<tr>
						<td colspan="1">
							<input type="text" name="userID" value="" placeholder="请输入账号"/>
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<input type="password" name="password" value="" placeholder="请输入密码"/>
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<input type="password" name="rpsw" value="" placeholder="请再次输入密码"/>
						</td>
					</tr>
					<tr>
						<td colspan="2">
							<font color="red" size="2"> ${registError }</font>
						</td>
					</tr>
					<tr>
						<td colspan="2" align="center">
							<button type="submit" class="signin-btn">注册</button>
						</td>
					</tr>
					<tr>
					    <td colspan="2" valign="middle" align="left">
					    	<a href="${pageContext.request.contextPath}/page/userLogin" class="signup-link">已有账号？返回登录</a>
					    </td>
					</tr>
				</table>
			</form>
		</div>
	</div>
  </body>
</html>